package com.zhiwei.msf.gateway.constants;

/**
 * function: 路由类型
 * author: zhiwei_yang
 * time: 2020/2/14-11:08
 */
public enum RouteTypeEnum {

    /**
     * 自动生成的路由信息：例如Eureka 获取
     */
    AUTOMATIC(0, "自动生成路由信息"),
    MANUAL(1, "手动配置路由信息");

    public int code;
    public String desc;

    RouteTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}